package com.mp.demo.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.mp.demo.entity.VerifyCodeInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @program: mybatis-plus
 * @description: 验证码dao类
 * @author: JuoChiu
 * @create: 2019-10-28 16:59
 **/
public interface VerifyCodeMapper extends BaseMapper<VerifyCodeInfo> {

    @Select("select * from verify_code_info ${ew.customSqlSegment}")
    List<VerifyCodeInfo> mySelectList(@Param(Constants.WRAPPER) Wrapper<VerifyCodeInfo> wrapper);
}
